package net.sea.setup.config;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 向导页配置
 *
 * @author 华成伍
 *
 */
@XmlRootElement(name = "page")
@XmlAccessorType(XmlAccessType.NONE)
public class Page {
	@XmlAttribute
	private String title;
	@XmlAttribute
	private String logo;
	@XmlAttribute(name = "class")
	private String panelClass;
	@XmlAttribute
	private int index;
	@XmlAttribute
	private String dataFile;
	@XmlElement
	private Menu menu;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getPanelClass() {
		return panelClass;
	}

	public void setPanelClass(String panelClass) {
		this.panelClass = panelClass;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getDataFile() {
		return dataFile;
	}

	public void setDataFile(String dataFile) {
		this.dataFile = dataFile;
	}

	public Menu getMenu() {
		return menu;
	}

	public void setMenu(Menu menu) {
		this.menu = menu;
	}

	@Override
	public String toString() {
		return "Page [title=" + title + ", logo=" + logo + ", panelClass="
				+ panelClass + ", index=" + index + ", dataFile=" + dataFile
				+ ", menu=" + menu + "]";
	}
}
